<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        ul{
            font-size: 18px;
        }
        li{
            list-style: none;
        }
        a{
            text-decoration: none;
            color: #7c7c7c;
        }
    </style>
</head>
<body>
    
    <script>
        
        let news = [
            { "category": "要闻", "title": "牢记初心使命 实干笃定前行", "href":"https://news.ifeng.com/c/7wNelHB0SgK" },
            { "category": "要闻", "title": "你以生命相托，我必全力以赴", "href":"https://news.ifeng.com/c/7wM1V3EzQBM" },
            { "category": "要闻", "title": "中国无人战车正式服役：机枪显示惊人杀伤力", "href":"https://tech.ifeng.com/c/7wMT02ftUZ4" },
            { "category": "健康", "title": "独家 | 武汉封城建议者：向武汉人民致敬，向援助武汉的人致敬", "href":"https://finance.ifeng.com/c/7wM0E6Bs8PI" },
            { "category": "汽车", "title": "马斯克发飙：起诉当地政府！总部搬离加州！", "href":"http://auto.ifeng.com/c/7wM43afWMFs" },
            { "category": "汽车", "title": "奇瑞真正的旗舰SUV，车长近5米+2.0T动力，气场不输路虎揽胜", "href":"https://auto.ifeng.com/c/7wIpWtWvHYv" },
            { "category": "房产", "title": "广州即将推出9宗土地 涉及22.2万平米4宗宅地", "href":"https://gz.house.ifeng.com/news/2020_05_11-52744145_0.shtml" }
        ];

        let div = `<div>`

        for (let i = 0; i<news.length;i++){
            div += `
            <ul>
                <li><a href="${news[i].href}"> ${news[i].category} · ${news[i].title}</a></li>



            </ul>  `
        }
       div +=`</div>`

        document.write(div)
    </script>
</body>
</html>